﻿using MaterialManagement.Domain.ERP;
using MaterialManagement.ErrorCode;
using MediatR;

namespace MaterialManagement.API.Application.Command.ERP
{
    public class CreateOutboundRecordCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 领料单名称
        /// </summary>
        public string PickFormName { get; set; }
        /// <summary>
        /// 领料单编号
        /// </summary>
        public string PickFormCode { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime PickDate { get; set; }
        /// <summary>
        /// 领料人
        /// </summary>
        public string Picker { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string ProductionOrdersCode { get; set; }
        /// <summary>
        /// 任务编号
        /// </summary>
        public string DispatchCode { get; set; }
        public List<PickingModel> Picks { get; set; }
    }
}
